#pragma once

#include "TinyMsg.h"
#include "MsgDefine.h"

using namespace TinyCC::msg;

namespace RuntimeMgr{
class CTinyUser
{
public:
	CTinyUser(void);
	~CTinyUser(void);
	bool initByMsg(CTinyMsg& inMsg);
	bool ProcessReceivedMsg(CTinyMsg& inMsg,CTinyMsg& outMsg);
private:
	std::string m_Name;
	std::string m_UserName;
	std::string m_ModuleType;
	std::string m_Region;
	std::string m_ModuleName;
	int m_socketID;

public:
	int getSocketID(void);
};
}
